/**
 * 
 */
package com.alexwebs;

/**
 * @author Alex
 * 
 */
public class EmployeeTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		Employee[] staff = new Employee[3];

		staff[0] = new Employee("Alex", 10000);
		staff[1] = new Employee("Stas", 9000);
		staff[2] = new Employee("Maria", 12000);

		for (Employee e : staff)

			System.out.println("Name: " + e.getName() + "," + "Salary: "
					+ e.getSalary());

	}

}